﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using LJLib.Net.SPI.Com;
using PhoneUI.Com.Modle;

namespace PhoneUI.Com
{
    /// <summary>
    /// 获取物料(产品)列表
    /// </summary>
    public sealed class GetMtrlDefsRequest : ILJTokenRequest<GetMtrlDefsResponse>
    {
        public string token { get; set; }
        /// <summary>
        /// 根据类别查找物料(产品)
        /// </summary>
        public string handtype { get; set; }
        /// <summary>
        /// 用于翻页查询
        /// </summary>
        public int lastId { get; set; }

        public string GetApiName()
        {
            return "GetMtrlDefs";
        }

    }

    /// <summary>
    /// 获取物料(产品)列表
    /// </summary>
    public sealed class GetMtrlDefsResponse : LJResponse
    {
        public List<MtrlDef> mtrldefs { get; set; }
    }
}